#ifndef ROCKET_COMMON_CONFIG_H
#define ROCKET_COMMON_CONFIG_H

#include <string>

namespace rocket {

class Config {
  public:
    Config(const char *xmlfile);

    static Config *GetGlobalConfig();
    static void SetGlobalConfig(const char *xmlfile);

    std::string m_log_level;
    std::string m_log_file_name;
    std::string m_log_file_path;
    int m_log_max_file_size;
    int m_log_sync_interval{0}; // ms

  private:
};
} // namespace rocket

#endif
